package com.wxh.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: SwaggerProperties
 * @Description: swagger配置属性类
 * @Author wxh
 * @Date: 2019/8/14 17:23
 * @Version V1.0.0
 * @Since 1.8
 */
@Configuration
@ConfigurationProperties(prefix = "spring.swagger2")
public class SwaggerProperties {
    /**
     *  标题
     */
    private String title;
    /**
     *  描述
     */
    private String description;
    /**
     *  版本
     */
    private String version;
    /**
     *  作者
     */
    private String contact;
    /**
     *  基础包名
     */
    private String basePackage;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }
}
